﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductionDesc.aspx.cs"
    Inherits="ATW.MT.SellManage.ProductionDesc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>产品描述管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <script type="text/javascript" src="../Scripts/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../Scripts/jsharp.popupdiv.js"></script>
    <link rel="Stylesheet" href="../Styles/css.css" />
    <link rel="Stylesheet" href="../Styles/jquery-ui.css" />
    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="main_hd" style="overflow-y: scroll; height: 500px">
        <h2 style="padding: 0px 20px;">
            产品描述管理 --
            <asp:Label runat="server" ID="lblProductionName"></asp:Label>
            <asp:HiddenField runat="server" ID="hdfProid" />
        </h2>
        <div class="content" style="padding: 0px 20px;">
            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="queryResultTable"
                style="margin: 0px">
                <tr>
                    <th>
                        语言类型
                    </th>
                    <th>
                        描述内容
                    </th>
                    <th>
                        操作
                    </th>
                </tr>
                <asp:Repeater runat="server" ID="rpList">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <asp:Label runat="server" ID="lblLanID" Text=' <%#Eval("LanName").ToString() %>'></asp:Label>
                            </td>
                            <td>
                                <asp:Label runat="server" ID="lblDesc" Text='<%#Eval("Desc").ToString() %>'></asp:Label>
                                <asp:TextBox runat="server" ID="txtDesc" Visible="false"></asp:TextBox>
                            </td>
                            <td>
                                <asp:LinkButton runat="server" ID="lbnEdit" OnClick="lbnEdit_Click">编辑</asp:LinkButton>
                                <asp:LinkButton runat="server" ID="lbnSave" Visible="false" CommandArgument='<%#Eval("LanID").ToString() %>'
                                    OnClick="lbnSave_Click">保存</asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr runat="server" id="trAdd" visible="false">
                    <td>
                        <asp:DropDownList runat="server" ID="ddlLan" DataTextField="LanName" DataValueField="LanID">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="txtNewDesc"></asp:TextBox>
                    </td>
                    <td>
                        <asp:LinkButton runat="server" ID="lbnSaveNew" OnClick="lbnSaveNew_Click">保存</asp:LinkButton>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                    </td>
                    <td>
                        <asp:LinkButton runat="server" ID="lbnAdd" OnClick="lbnAdd_Click">新增</asp:LinkButton>
                    </td>
                </tr>
            </table>
        </div>
        <div id="divMsg" style="display: none;">
            <div class="tc_header">
                <h2>
                    提示</h2>
                <a id="hideMsg">
                    <img src="../images/chacha.png" width="13" height="13"></a>
            </div>
            <div class="tc_content">
                <div class="tanchu03" style="">
                    <p id="msgContent">
                    </p>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
